package com.webchat.admin.controller;


import com.webchat.common.bean.APIResponseBean;
import com.webchat.common.bean.APIResponseBeanUtil;
import com.webchat.domain.vo.response.openapi.LogisticsDetailRespVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api-service/openai")
public class OpenApiController {


    @GetMapping("/logistics/query")
    public APIResponseBean<LogisticsDetailRespVO> queryLogistics(@RequestParam String orderNo) {
        // TODO
        return APIResponseBeanUtil.success(LogisticsDetailRespVO.mock(orderNo));
    }
}
